package top.tangyh.lamp.care.vo.result;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serializable;

@Data
@Schema(description ="观察项病人配置保存参数 观察项病人配置保存参数")
public class ObsvPtCfgParamHandle implements Serializable {


	@Schema(description = "系统主键，明细id", required = false)
	private Long id;

	@Schema(description = "病人识别号", required = true)
	@NotBlank(message = "病人识别号不能为空")
	private String patientIdent;

	@Schema(description = "病人住院号", required = true)
	@NotBlank(message = "病人住院号不能为空")
	private String hospitalNumber;

	@Schema(description = "标识id,或即观察项id ")
	private Long obsvId;

	@Schema(description = "标识,或即观察标识，说明：为生命特征指标编码如spo2", required = true)
	@NotBlank(message = "观察项目标识不能为空")
	@Valid
	private String obsvCode;

	@Schema(description = "观察项类别", required = true)
	@NotBlank(message = "观察项类别不能为空")
	private String obsvType;

	@Schema(description = "是否可见 0-否，1-是，默认是1")
	private Integer isVisible;

	@Schema(description = "标识单位，如血压的单位为：mmHg")
	private String propUnit;

	@Schema(description = "参考范围下限")
	private String refLower;

	@Schema(description = "参考范围上限")
	private String refUpper;


}